Integrand size = 22, antiderivative size = 361 \[ \int \frac {\sqrt {x}}{a+b \text {sech}\left (c+d \sqrt {x}\right )} \, dx=\frac {2 x^{3/2}}{3 a}-\frac {2 b x \log \left (1+\frac {a e^{c+d \sqrt {x}}}{b-\sqrt {-a^2+b^2}}\right )}{a \sqrt {-a^2+b^2} d}+\frac {2 b x \log \left (1+\frac {a e^{c+d \sqrt {x}}}{b+\sqrt {-a^2+b^2}}\right )}{a \sqrt {-a^2+b^2} d}-\frac {4 b \sqrt {x} \operatorname {PolyLog}\left (2,-\frac {a e^{c+d \sqrt {x}}}{b-\sqrt {-a^2+b^2}}\right )}{a \sqrt {-a^2+b^2} d^2}+\frac {4 b \sqrt {x} \operatorname {PolyLog}\left (2,-\frac {a e^{c+d \sqrt {x}}}{b+\sqrt {-a^2+b^2}}\right )}{a \sqrt {-a^2+b^2} d^2}+\frac {4 b \operatorname {PolyLog}\left (3,-\frac {a e^{c+d \sqrt {x}}}{b-\sqrt {-a^2+b^2}}\right )}{a \sqrt {-a^2+b^2} d^3}-\frac {4 b \operatorname {PolyLog}\left (3,-\frac {a e^{c+d \sqrt {x}}}{b+\sqrt {-a^2+b^2}}\right )}{a \sqrt {-a^2+b^2} d^3} \]
[Out]
Time = 0.55 (sec) , antiderivative size = 361, normalized size of antiderivative = 1.00, number of steps used = 13, number of rules used = 8, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.364, Rules used = {5544, 4276, 3401, 2296, 2221, 2611, 2320, 6724} \[ \int \frac {\sqrt {x}}{a+b \text {sech}\left (c+d \sqrt {x}\right )} \, dx=\frac {4 b \operatorname {PolyLog}\left (3,-\frac {a e^{c+d \sqrt {x}}}{b-\sqrt {b^2-a^2}}\right )}{a d^3 \sqrt {b^2-a^2}}-\frac {4 b \operatorname {PolyLog}\left (3,-\frac {a e^{c+d \sqrt {x}}}{b+\sqrt {b^2-a^2}}\right )}{a d^3 \sqrt {b^2-a^2}}-\frac {4 b \sqrt {x} \operatorname {PolyLog}\left (2,-\frac {a e^{c+d \sqrt {x}}}{b-\sqrt {b^2-a^2}}\right )}{a d^2 \sqrt {b^2-a^2}}+\frac {4 b \sqrt {x} \operatorname {PolyLog}\left (2,-\frac {a e^{c+d \sqrt {x}}}{b+\sqrt {b^2-a^2}}\right )}{a d^2 \sqrt {b^2-a^2}}-\frac {2 b x \log \left (\frac {a e^{c+d \sqrt {x}}}{b-\sqrt {b^2-a^2}}+1\right )}{a d \sqrt {b^2-a^2}}+\frac {2 b x \log \left (\frac {a e^{c+d \sqrt {x}}}{\sqrt {b^2-a^2}+b}+1\right )}{a d \sqrt {b^2-a^2}}+\frac {2 x^{3/2}}{3 a} \]
[In]
[Out]
Rule 2221
Rule 2296
Rule 2320
Rule 2611
Rule 3401
Rule 4276
Rule 5544
Rule 6724
Rubi steps \begin{align*} \text {integral}& = 2 \text {Subst}\left (\int \frac {x^2}{a+b \text {sech}(c+d x)} \, dx,x,\sqrt {x}\right ) \\ & = 2 \text {Subst}\left (\int \left (\frac {x^2}{a}-\frac {b x^2}{a (b+a \cosh (c+d x))}\right ) \, dx,x,\sqrt {x}\right ) \\ & = \frac {2 x^{3/2}}{3 a}-\frac {(2 b) \text {Subst}\left (\int \frac {x^2}{b+a \cosh (c+d x)} \, dx,x,\sqrt {x}\right )}{a} \\ & = \frac {2 x^{3/2}}{3 a}-\frac {(4 b) \text {Subst}\left (\int \frac {e^{c+d x} x^2}{a+2 b e^{c+d x}+a e^{2 (c+d x)}} \, dx,x,\sqrt {x}\right )}{a} \\ & = \frac {2 x^{3/2}}{3 a}-\frac {(4 b) \text {Subst}\left (\int \frac {e^{c+d x} x^2}{2 b-2 \sqrt {-a^2+b^2}+2 a e^{c+d x}} \, dx,x,\sqrt {x}\right )}{\sqrt {-a^2+b^2}}+\frac {(4 b) \text {Subst}\left (\int \frac {e^{c+d x} x^2}{2 b+2 \sqrt {-a^2+b^2}+2 a e^{c+d x}} \, dx,x,\sqrt {x}\right )}{\sqrt {-a^2+b^2}} \\ & = \frac {2 x^{3/2}}{3 a}-\frac {2 b x \log \left (1+\frac {a e^{c+d \sqrt {x}}}{b-\sqrt {-a^2+b^2}}\right )}{a \sqrt {-a^2+b^2} d}+\frac {2 b x \log \left (1+\frac {a e^{c+d \sqrt {x}}}{b+\sqrt {-a^2+b^2}}\right )}{a \sqrt {-a^2+b^2} d}+\frac {(4 b) \text {Subst}\left (\int x \log \left (1+\frac {2 a e^{c+d x}}{2 b-2 \sqrt {-a^2+b^2}}\right ) \, dx,x,\sqrt {x}\right )}{a \sqrt {-a^2+b^2} d}-\frac {(4 b) \text {Subst}\left (\int x \log \left (1+\frac {2 a e^{c+d x}}{2 b+2 \sqrt {-a^2+b^2}}\right ) \, dx,x,\sqrt {x}\right )}{a \sqrt {-a^2+b^2} d} \\ & = \frac {2 x^{3/2}}{3 a}-\frac {2 b x \log \left (1+\frac {a e^{c+d \sqrt {x}}}{b-\sqrt {-a^2+b^2}}\right )}{a \sqrt {-a^2+b^2} d}+\frac {2 b x \log \left (1+\frac {a e^{c+d \sqrt {x}}}{b+\sqrt {-a^2+b^2}}\right )}{a \sqrt {-a^2+b^2} d}-\frac {4 b \sqrt {x} \operatorname {PolyLog}\left (2,-\frac {a e^{c+d \sqrt {x}}}{b-\sqrt {-a^2+b^2}}\right )}{a \sqrt {-a^2+b^2} d^2}+\frac {4 b \sqrt {x} \operatorname {PolyLog}\left (2,-\frac {a e^{c+d \sqrt {x}}}{b+\sqrt {-a^2+b^2}}\right )}{a \sqrt {-a^2+b^2} d^2}+\frac {(4 b) \text {Subst}\left (\int \operatorname {PolyLog}\left (2,-\frac {2 a e^{c+d x}}{2 b-2 \sqrt {-a^2+b^2}}\right ) \, dx,x,\sqrt {x}\right )}{a \sqrt {-a^2+b^2} d^2}-\frac {(4 b) \text {Subst}\left (\int \operatorname {PolyLog}\left (2,-\frac {2 a e^{c+d x}}{2 b+2 \sqrt {-a^2+b^2}}\right ) \, dx,x,\sqrt {x}\right )}{a \sqrt {-a^2+b^2} d^2} \\ & = \frac {2 x^{3/2}}{3 a}-\frac {2 b x \log \left (1+\frac {a e^{c+d \sqrt {x}}}{b-\sqrt {-a^2+b^2}}\right )}{a \sqrt {-a^2+b^2} d}+\frac {2 b x \log \left (1+\frac {a e^{c+d \sqrt {x}}}{b+\sqrt {-a^2+b^2}}\right )}{a \sqrt {-a^2+b^2} d}-\frac {4 b \sqrt {x} \operatorname {PolyLog}\left (2,-\frac {a e^{c+d \sqrt {x}}}{b-\sqrt {-a^2+b^2}}\right )}{a \sqrt {-a^2+b^2} d^2}+\frac {4 b \sqrt {x} \operatorname {PolyLog}\left (2,-\frac {a e^{c+d \sqrt {x}}}{b+\sqrt {-a^2+b^2}}\right )}{a \sqrt {-a^2+b^2} d^2}+\frac {(4 b) \text {Subst}\left (\int \frac {\operatorname {PolyLog}\left (2,\frac {a x}{-b+\sqrt {-a^2+b^2}}\right )}{x} \, dx,x,e^{c+d \sqrt {x}}\right )}{a \sqrt {-a^2+b^2} d^3}-\frac {(4 b) \text {Subst}\left (\int \frac {\operatorname {PolyLog}\left (2,-\frac {a x}{b+\sqrt {-a^2+b^2}}\right )}{x} \, dx,x,e^{c+d \sqrt {x}}\right )}{a \sqrt {-a^2+b^2} d^3} \\ & = \frac {2 x^{3/2}}{3 a}-\frac {2 b x \log \left (1+\frac {a e^{c+d \sqrt {x}}}{b-\sqrt {-a^2+b^2}}\right )}{a \sqrt {-a^2+b^2} d}+\frac {2 b x \log \left (1+\frac {a e^{c+d \sqrt {x}}}{b+\sqrt {-a^2+b^2}}\right )}{a \sqrt {-a^2+b^2} d}-\frac {4 b \sqrt {x} \operatorname {PolyLog}\left (2,-\frac {a e^{c+d \sqrt {x}}}{b-\sqrt {-a^2+b^2}}\right )}{a \sqrt {-a^2+b^2} d^2}+\frac {4 b \sqrt {x} \operatorname {PolyLog}\left (2,-\frac {a e^{c+d \sqrt {x}}}{b+\sqrt {-a^2+b^2}}\right )}{a \sqrt {-a^2+b^2} d^2}+\frac {4 b \operatorname {PolyLog}\left (3,-\frac {a e^{c+d \sqrt {x}}}{b-\sqrt {-a^2+b^2}}\right )}{a \sqrt {-a^2+b^2} d^3}-\frac {4 b \operatorname {PolyLog}\left (3,-\frac {a e^{c+d \sqrt {x}}}{b+\sqrt {-a^2+b^2}}\right )}{a \sqrt {-a^2+b^2} d^3} \\ \end{align*}
Time = 0.78 (sec) , antiderivative size = 286, normalized size of antiderivative = 0.79 \[ \int \frac {\sqrt {x}}{a+b \text {sech}\left (c+d \sqrt {x}\right )} \, dx=\frac {2 \left (\sqrt {-a^2+b^2} d^3 x^{3/2}-3 b d^2 x \log \left (1+\frac {a e^{c+d \sqrt {x}}}{b-\sqrt {-a^2+b^2}}\right )+3 b d^2 x \log \left (1+\frac {a e^{c+d \sqrt {x}}}{b+\sqrt {-a^2+b^2}}\right )-6 b d \sqrt {x} \operatorname {PolyLog}\left (2,\frac {a e^{c+d \sqrt {x}}}{-b+\sqrt {-a^2+b^2}}\right )+6 b d \sqrt {x} \operatorname {PolyLog}\left (2,-\frac {a e^{c+d \sqrt {x}}}{b+\sqrt {-a^2+b^2}}\right )+6 b \operatorname {PolyLog}\left (3,\frac {a e^{c+d \sqrt {x}}}{-b+\sqrt {-a^2+b^2}}\right )-6 b \operatorname {PolyLog}\left (3,-\frac {a e^{c+d \sqrt {x}}}{b+\sqrt {-a^2+b^2}}\right )\right )}{3 a \sqrt {-a^2+b^2} d^3} \]
[In]
[Out]
\[\int \frac {\sqrt {x}}{a +b \,\operatorname {sech}\left (c +d \sqrt {x}\right )}d x\]
[In]
[Out]
\[ \int \frac {\sqrt {x}}{a+b \text {sech}\left (c+d \sqrt {x}\right )} \, dx=\int { \frac {\sqrt {x}}{b \operatorname {sech}\left (d \sqrt {x} + c\right ) + a} \,d x } \]
[In]
[Out]
\[ \int \frac {\sqrt {x}}{a+b \text {sech}\left (c+d \sqrt {x}\right )} \, dx=\int \frac {\sqrt {x}}{a + b \operatorname {sech}{\left (c + d \sqrt {x} \right )}}\, dx \]
[In]
[Out]
Exception generated. \[ \int \frac {\sqrt {x}}{a+b \text {sech}\left (c+d \sqrt {x}\right )} \, dx=\text {Exception raised: ValueError} \]
[In]
[Out]
\[ \int \frac {\sqrt {x}}{a+b \text {sech}\left (c+d \sqrt {x}\right )} \, dx=\int { \frac {\sqrt {x}}{b \operatorname {sech}\left (d \sqrt {x} + c\right ) + a} \,d x } \]
[In]
[Out]
Timed out. \[ \int \frac {\sqrt {x}}{a+b \text {sech}\left (c+d \sqrt {x}\right )} \, dx=\int \frac {\sqrt {x}}{a+\frac {b}{\mathrm {cosh}\left (c+d\,\sqrt {x}\right )}} \,d x \]
[In]
[Out]